package cn.gson.crm.model.dao;

import cn.gson.crm.model.pojos.StockDetails;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

public interface StockDetailsDao extends CrudRepository<StockDetails,Integer> {
    @Query(nativeQuery=true,value="select * from STOCK_DETAILS s where s.S_NAME=?1")
    public List<StockDetails> selectstokdel(String name);
}
